package com.ruoyi.eqmonitor.workorder.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.workorder.domain.BizWorkorder;
import com.ruoyi.eqmonitor.workorder.domain.BizWorkorderFlowHistory;

/**
 * @author breeze
 * @date 2023-11-07
 */
public interface BizWorkorderMapper extends BaseMapper<BizWorkorder>{

    public List<BizWorkorder> selectBizWorkorderList(BizWorkorder bizWorkorder);
    
    public BizWorkorder selectBizWorkorderById(String id);

    public Map<String, Object> selectBizWorkorderReport(BizWorkorder bizWorkorder);

	public List<BizWorkorderFlowHistory> selectWorkorderFlowHistory(BizWorkorder bizWorkorder);
	
	public Map<String, Object> selectBizWorkorderCountReport(BizWorkorder bizWorkorder);
	
	public List<Map<String, Object>> selectBizWorkorderDayCountReport(BizWorkorder bizWorkorder);

	public List<Map<String, Object>> selectBizWorkorderMonthCompleteRateReport(BizWorkorder bizWorkorder);
	
	public Map<String, Object> selectBizWorkorderStatusCountReport(BizWorkorder bizWorkorder);
	
	public Map<String, Object> selectBizAlarmStatusCountReport(BizWorkorder bizWorkorder);
	
}
